/**
 * 
 */
package com.yidu.erp.service.hetonghch;

import java.util.List;
import java.util.Map;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.yidu.erp.dao.BeyondApplyMapper;
import com.yidu.erp.dao.BeyondPactDosingListMapper;
import com.yidu.erp.model.BeyondPactDosingList;

/**
 * @author Administrator
 *
 */
@Service
public class PactDosinglistServiceImpl implements PactDosinglistService{

	
	@Resource
	private BeyondPactDosingListMapper beyondPactDosingListMapper;
	
	
	@Override
	public int deleteByPrimaryKey(String pactDosingId) {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public int insert(BeyondPactDosingList record) {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public int insertSelective(BeyondPactDosingList beyondPactDosingList) {
		// TODO Auto-generated method stub
		return beyondPactDosingListMapper.insertSelective(beyondPactDosingList);
	}

	@Override
	public BeyondPactDosingList selectByPrimaryKey(String pactDosingId) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public int updateByPrimaryKeySelective(BeyondPactDosingList record) {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public int updateByPrimaryKey(BeyondPactDosingList record) {
		// TODO Auto-generated method stub
		return 0;
	}

	/**
     * 根据合同ID查询对应的合同配料信息
     * @param pactId
     * @return
     */
	@Override
	public List<Map> findAll(String pactId) {
		// TODO Auto-generated method stub
		return beyondPactDosingListMapper.findAll(pactId);
	}

}
